home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- function getHighScoreFromURL()
- {
- this.hsLoaded = 1;
- if(this._url == _root.Functions.validURL)
- {
- trace("loading from url ");
- loadVariables("http://www.cedalion.co.uk/loki/get_high_score.asp",_root.highScoreBox);
- }
- else
- {
- trace("setting endOfGame to 3");
- tellTarget("/endOfGame")
- {
- gotoAndStop(3);
- }
- if(0 >= score)
- {
- score = 0;
- }
- }
- }
- function setHighScore(sc)
- {
- score = sc;
- _root.Functions.highScore = score;
- }
- this.hsLoaded = 0;
- }
-